package com.zrrd.yunchmall.product;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author 16837
 */
@SpringBootApplication
@MapperScan("com.zrrd.yunchmall.product.mapper")
//开启服务注册及发现
@EnableDiscoveryClient
@ComponentScan(value = "com.zrrd.yunchmall")
public class ProductApp {
    public static void main(String[] args) {
        SpringApplication.run(ProductApp.class,args);
    }

}

